package com.study.model;

public class Power {
    private int id;
    private String name;
    private String createBy;
    private String createDate;
    private int elFlag;
    private int parentId;
    private String href;
    private String permission;

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public void setElFlag(int elFlag) {
        this.elFlag = elFlag;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getCreateBy() {
        return createBy;
    }

    public String getCreateDate() {
        return createDate;
    }

    public int getElFlag() {
        return elFlag;
    }

    public int getParentId() {
        return parentId;
    }

    public String getHref() {
        return href;
    }

    public String getPermission() {
        return permission;
    }

    public int getId() {

        return id;
    }

    public String toString(){
        return "id:"+this.getId()+" name:"+this.getName()+" createBy:"+this.getCreateBy()+" createDate:"+this.getCreateDate()
                +" eLFlag:"+this.getElFlag()+" parentId:"+this.getParentId()+" href:"+this.getHref();
    }

}
